//
//  BaseViewController.h
//  genericFramework
//
//  Created by 谷丰 on 2025/3/24.
//

#import <UIKit/UIKit.h>
#import "MJRefresh.h"
NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController
@property (nonatomic,strong)UIView * BaseNavBarView;//自定义navbar
@property (nonatomic,strong)UIImageView * BaseNavImageView;//自定义背景图
@property (nonatomic,strong)UILabel * TopTitleLabel;//自定义title
@property (nonatomic,strong)UIImageView * TopTitleImage;//图片版title
@property (nonatomic,strong)UIButton * BaseBackButton;//返回按钮
@property (nonatomic,strong)UIButton * BaseRightButton;//右侧按钮
@property (nonatomic,assign)NSInteger  BasePage;//分页
@property (nonatomic,strong)MJRefreshAutoNormalFooter * MjFooter;//刷新
@property (nonatomic,strong)MJRefreshGifHeader * MjHeader;//刷新
-(void)CompositionNavBarHidden:(BOOL)hidden andHiddenBackButton:(BOOL)flag withTitle:(NSString *)titile;//布局navbar
-(void)BackPress;//返回
-(UIStatusBarStyle)preferredStatusBarStyle;//修改状态栏颜色
-(void)ShowProgress;
-(void)HiddenProgress;
//显示文字提示
-(void)ShowTextString:(NSString *)text  andWithTime:(NSInteger )time dissmess:(void (^)(id responseObject))success;
-(void)MjFooterTouchBlock;
-(void)MjHeaderTouchBlock;
@end

NS_ASSUME_NONNULL_END
